---
import { getNavigationItems } from '@enterprise/custom-documentation/utils/custom-docs';
import CustomDocsNavWrapper from '@enterprise/custom-documentation/components/CustomDocsNav/CustomDocsNavWrapper';

const currentPath = Astro.url.pathname;
const sidebarItems = await getNavigationItems();
---

<CustomDocsNavWrapper client:only sidebarItems={sidebarItems} currentPath={currentPath} />
